// const mongoose = require('mongoose');
// const { ObjectId } = mongoose.Schema;

/**
 * Export model definition object.
 */
module.exports = {
  scope: {
    type: String,
    enum: ['testcase', 'function'],
  },
  domain: {
    type: String,
    enum: ['unitTest', 'integrationTest'],
  },
  name: {
    type: String,
    required: true,
  },
  index: {
    type: Number,
  },
  dataType: {
    type: String,
    required: true,
    enum: ['string'],
    default: 'string',
  },
};
